package com.crm.model.vo.cluePoolManager;

import com.crm.model.entity.cluePoolManager.CluePoolPrivate;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author wll
 * @date 2020/12/28 11:25
 */
@Data
public class CluePoolPrivateVO {

    private String cluePoolPrivateId;

    private String cluePoolName;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTm;

    private String cityName;

    private String industry;

    private String tag;

    //是否是默认池子：0-不是默认；1-默认池子
    private Integer defaultMark;

    private Integer capacity;


    public CluePoolPrivateVO() {
        super();
    }

    public CluePoolPrivateVO(CluePoolPrivate cluePoolPrivate) {
        this.cluePoolPrivateId = cluePoolPrivate.getCluePoolPrivateId();
        this.cluePoolName = cluePoolPrivate.getCluePoolName();
        this.createTm = cluePoolPrivate.getCreateTm();
        this.cityName = cluePoolPrivate.getCityName();
        this.industry = cluePoolPrivate.getIndustry();
        this.tag = cluePoolPrivate.getTag();
        this.defaultMark = cluePoolPrivate.getDefaultMark();
        this.capacity = cluePoolPrivate.getCapacity();
    }
}
